package com.neusoft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.neusoft.model.ApprovalRelate;
import com.neusoft.vo.ApprovalRelateVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface ApprovalRelateMapper extends BaseMapper<ApprovalRelate> {
    Long selectApprovalRelatesCount(String deptName);

    List<ApprovalRelateVO> selectApprovalRelatesWithNamesByPage(String deptName, long offset, long size);
}